package ph.com.gs3.formalistics.model.vo.business;

import java.io.Serializable;

public class Comment implements Serializable {

	private static final long serialVersionUID = 152229937407366219L;

	private int id;
	private String webId;

	private int documentId;
	private User author;

	private String text;
	private String dateCreated;

	private String pendingStubId;
	
	private boolean isCurrentlyBeingProcessed = false;
	private boolean isOutgoing = false;
	private boolean markedForDeletion = false;

	@Override
	public String toString() {
		return text;
	}
	
	// ===============================================================================
	// {{ Getters & Setters

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getWebId() {
		return webId;
	}

	public void setWebId(String webId) {
		this.webId = webId;
	}

	public int getDocumentId() {
		return documentId;
	}

	public void setDocumentId(int documentId) {
		this.documentId = documentId;
	}

	public User getAuthor() {
		return author;
	}

	public void setAuthor(User author) {
		this.author = author;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getDateCreated() {
		return dateCreated;
	}

	public void setDateCreated(String dateCreated) {
		this.dateCreated = dateCreated;
	}

	public boolean isCurrentlyBeingProcessed() {
		return isCurrentlyBeingProcessed;
	}

	public void setCurrentlyBeingProcessed(boolean isCurrentlyBeingProcessed) {
		this.isCurrentlyBeingProcessed = isCurrentlyBeingProcessed;
	}

	public boolean isOutgoing() {
		return isOutgoing;
	}

	public void setOutgoing(boolean isOutgoing) {
		this.isOutgoing = isOutgoing;
	}

	public boolean isMarkedForDeletion() {
		return markedForDeletion;
	}

	public void setMarkedForDeletion(boolean markedForDeletion) {
		this.markedForDeletion = markedForDeletion;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getPendingStubId() {
	    return pendingStubId;
    }

	public void setPendingStubId(String pendingStubId) {
	    this.pendingStubId = pendingStubId;
    }

	// }}

}
